package com.study.samsung.Service;

import com.study.samsung.Dao.PaymentDao;
import com.study.samsung.Entity.Commodity;

import java.util.List;

public class PaymentService {
    PaymentDao pd = new PaymentDao();
    public List<Commodity> selectAll(Integer did){
        return pd.selectAll(did);
    }
    public Integer update(Integer did,String dstatus){
        return pd.update(did,dstatus);
    }
    public Integer deleteCart(Integer sxid){
        return pd.deleteCart(sxid);
    }
}
